public class Sum1
{
	public static void main(String args[])
	{
		int i=1,s=0;
		do
		{
			s=s+i;
			i=i+1;
		}
		while (i<=100);
	System.out.println("sum="+s);
	}
}